package testJob;

public class ShellJobForIntArray extends CaclJob{
//	2.ShellJob 2 ShellJobIntArray
//		int[] data
//		void run()
//		int[] result
//		int duration
	
	private int[] data;
	
	public void setData(int[] data) {
		this.data = data;
	}
	
	public int[] getData() {
		return this.data;
	}

	
	public ShellJobForIntArray() {
		super(true);
//		this.resetDuration();
	}
	
	public ShellJobForIntArray(int[] data) {
		super(true);
		this.setData(data);
//		this.resetDuration();
	}
	
	@Override
	public void run() {
		System.out.println("The ShellJobForIntArray is running !");
		this.setResult(new int[] {1,2,3});
		this.setDuration(200);
	}
	
}
